package com.lemon.equipment.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lemon.equipment.domain.entity.FileUpload;
import jakarta.servlet.http.HttpServletResponse;
import org.springframework.web.multipart.MultipartFile;

import java.io.File;

/**
* @author Lemon-boy
* @description 针对表【lol_file_upload(文件上传表)】的数据库操作Service
* @createDate 2024-07-30 20:01:27
*/
public interface FileUploadService extends IService<FileUpload> {

    Long upload(MultipartFile file);

    Long upload(File file);

    void download(Long fileId, HttpServletResponse response);
}
